package cn.cjx.system.mapper;

import cn.cjx.system.domain.Role;
import cn.cjx.basic.mapper.BaseMapper;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cjx
 * @since 2022-05-13
 */
public interface RoleMapper extends BaseMapper<Role> {

	void removeRoleMenuByRoleId(Long id);

	void removeRolePermissionByRoleId(Long id);

	void saveRoleMenu(HashMap<String, Object> hashMap);


	void saveRolePermission(HashMap<String, Object> map);

	@Override
	void remove(Long id);
}
